package com.groupbuying.storeinternal.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @anthor wenguoqiang
 * @date: 2019/06/06 16:41
 * @company 够样
 * @des
 **/

@Service
@FeignClient(name = "service-ys")
public interface YsServiceFeign {

    /**
     * 下载文件
     * @param params
     * @return
     */
    @RequestMapping(value = { "/ysReport/registryStore" },  method = {RequestMethod.POST })
    String registryStore(@RequestParam Map<String, Object> params);
}
